SlkStore.GetGradingProperties Method

Retrieves grading-related information about an assignment from the SLK database.

Parent Type: SlkStore

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public ReadOnlyCollection<GradingProperties> GetGradingProperties (
AssignmentItemIdentifier assignmentId,
out AssignmentProperties basicAssignmentProperties

)

Parameters

assignmentId

The AssignmentItemIdentifier of the assignment to retrieve information about.

basicAssignmentProperties

Where returned basic assignment properties are stored. basicAssignmentProperties is populated with all its properties except for AssignmentProperties.Instructors and AssignmentProperties.Instructors

Return Value

A collection of GradingProperties objects, one for each learner assignment in the assignment, sorted by learner name.

Exceptions
Exception type Condition
SafeToDisplayException

An error occurred that can be displayed to a browser user. Possible cause: the user isn't an instructor on the assignment.

Remarks

Security:  Fails if the current user isn't an instructor on the assignment.